<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <span id="show"></span>

  <script src="../../js/ultis.js"></script>
  <script>
    let date1 = new Date();
    let res = formatTime(date1)

    setInterval(function () {
      let date2 = new Date();
      let res = formatTime(date1)
      show.innerHTML = res;
    })
  </script>
</body>

</html>